﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using imaginecup.information;

namespace imaginecup.objectManager
{
    public class GMessage
    {
        public SMessageType m_Type;
        public GObjectID m_FromID;
        public Object m_Data;

        public GMessage(){}
        public GMessage(SMessageType a_Type) 
        {
            m_Type = a_Type;
        }
        public GMessage(SMessageType a_Type, Object a_Data)
        {
            m_Type = a_Type;
            m_Data = a_Data;
        }

        public GMessage(SMessageType a_Type, GObjectID a_FromID)
        {
            m_Type = a_Type;
            m_FromID = a_FromID;
        }

        public GMessage(SMessageType a_Type, GObjectID a_FromID, Object a_Data)
        {
            m_Type = a_Type;
            m_FromID = a_FromID;
            m_Data = a_Data;
        }

        public GMessage(Object a_Data)
        {
            m_Data = a_Data;
        }
    }
}
